package com.lhn.dao.impl;

import com.lhn.dao.BookDao;
import org.springframework.stereotype.Repository;

/**
 * @author lhn
 * @date 2024-08-21 16:10
 */
@Repository
public class BookDaoImpl implements BookDao {
    @Override
    public void update() {
        System.out.println("BookDaoImpl.update ...");
    }

    @Override
    public int select() {
        System.out.println("BookDaoImpl.select ...");
//        int i = 1 / 0;  //主动制造异常
        return 100;
    }
}
